import request from '@/utils/request'
//导入
export function queryTreeList(params) {
  return request({
    url: '/system/b/importdata/queryTreeList',
    method: 'get',
    params: params
  })
}
//新增
export function queryAdd(params) {
  return request({
    url: '/system/b/importdata/add',
    method: 'get',
    params: params
  })
}
//修改
export function queryUpdate(params) {
  return request({
    url: '/system/b/importdata/update',
    method: 'get',
    params: params
  })
}
//删除
export function queryDelete(params) {
  return request({
    url: '/system/b/importdata/delete',
    method: 'get',
    params: params
  })
}
//修改
export function query(params) {
  return request({
    url: '/system/b/importdata/query',
    method: 'get',
    params: params
  })
}
//识别数据
export function discernRuleList(data) {
  return request({
    url: '/system/b/importdata/relation',
    method: 'post',
    data: data
  })
}
//删除前验证
export function deleteCheck(params) {
  return request({
    url: '/system/b/importdata/deleteCheck',
    method: 'get',
    params: params
  })
}


